/*
package com.socialuni.jimei.controller.social;

import com.socialuni.sdk.api.FollowApi;
import com.socialuni.social.model.QO.follow.FollowAddVO;
import com.socialuni.social.model.QO.follow.FollowUserVO;
import com.socialuni.api.model.ResultRO;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.util.List;
import java.util.Map;

@RestController
public class FollowController implements FollowApi {
    @Resource
    FollowApi followApi;

    @Override
    public ResultRO<Map<String, List<FollowUserVO>>> queryUserFollows() {
        return followApi.queryUserFollows();
    }

    @Override
    public ResultRO<Object> addFollow(@RequestBody @Valid @NotNull FollowAddVO addVO) {
        return followApi.addFollow(addVO);
    }

    @Override
    public ResultRO<Object> cancelFollow(@RequestBody @Valid @NotNull FollowAddVO addVO) {
        return followApi.cancelFollow(addVO);
    }
}*/
